Skip to main content

hilitedItemIcons

Type

property

Summary

The icons displayed by each segment when highlighted

Syntax

get the hilitedItemIcons of <widget>
set the hilitedItemIcons of <widget> to <iconNames>

Description

The icons displayed for each segment in the control when highlighted. The hilitedItemIcons are displayed by the widget when the itemStyle is set to show icons.

Each icon name must be one of the predefined graphics provided by the "IconSVG" library. You can get a list of available predefined path names by running put iconNames() in the Message Box. If any of the hilitedItemIcons are empty, those segments have no icon when hilited.

When you set the hilitedItemIcons to a string that has fewer icon names than the itemCount, the remaining segments' icons are set to empty (no icon).

When you set the hilitedItemIcons to a string that has more icon names than the itemCount, the extra icons are ignored.

property: itemCount, itemStyle, itemIcons, foreColor, hilitedItem